Hybris Sales UX API icon

Hybris Sales UX API

(0 reviews)

resource - TMF-639 GET

This use case is to retrieve the available MSISDN list from Nokia by pool_id

URL
https://[localhost]:[port]/ecom-sales-ux/v1/{businessId}/resource
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
Query Param
nametypedescriptionrequired
idstringIdentifier of an instance of the resource. Required to be unique within the resource type. Used in URIs as the identifier for specific instances of a type
Ex. this is the unique static order number for GetMSISDNs
N
resourceRelationship.resource.namestringName of the resource
Ex. pool_id,amount for APP use to get MSISDNs
Y
resourceRelationship.resource.idstringUnique identifier of an instance of the resource
Ex. value of "pool_id" and "amount" for APP use to get MSISDNs
Y
resourceCharacteristic.valuestringThe value of the characteristic,
Ex. value of lock and timeout for APP use to lock get MSISDNs
Y*
resourceCharacteristic.namestringName of the characteristic
Ex. name of "lock" and "timeout" for APP use to lock get MSISDNs
Y*
@typestringresource type
Ex. MSISDN, for the APP use to get MSISDNs
Y
Request
curl --location 'https://nonprod.esb.cloud.lla.com/test/ecom-sales-ux/ecom-sales-ux/v1/PR/resource?%40type=MSISDN&id=DiGi-123456&resourceRelationship.resource.name=pool_id%2Camount&resourceRelationship.resource.id=9999%2C15&resourceCharacteristic.name=lock%2Ctimeout&resourceCharacteristic.value=true%2C10' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92cCC' \
--header 'client_id: ac1f0f4beb4c4c4b940db2d12b2df011' \
--header 'client_secret: 7d427B27f4494A0F90b45Cc5B3D3C39B'
Response
[
    {
        "id": "65803", //RequestID from Nokia
        "resourceSpecification": {
            "id": "APP-01234" //OrderNo from Request.
        },
        "@type": "MSISDN",
        "@baseType": "Resource",
        "resourceStatus": "assigned",
        "resourceCharacteristic": [
            {
                "name": "MSISDN_NUMBER_1",
                "value": "12218001026",
                "characteristicRelationship": [
                    {
                        "id": "TXoAzh2iN6",
                        "@type": "LOCKED_KEY_1"
                    },
                    {
                        "id": "2023-08-16T20:06:02.1234",
                        "@type": "LOCKED_EXPIRATION_DATE_1"
                    }
                ]
            },
            {
                "name": "MSISDN_NUMBER_2",
                "value": "12218001015",
                "characteristicRelationship": [
                    {
                        "id": "TXoAzh2iN6",
                        "@type": "LOCKED_KEY_2"
                    },
                    {
                        "id": "2023-08-16T20:06:02.1234",
                        "@type": "LOCKED_EXPIRATION_DATE_2"
                    }
                ]
            },
            {
                "name": "MSISDN_NUMBER_3",
                "value": "12218001019",
                "characteristicRelationship": [
                    {
                        "id": "TXoAzh2iN6",
                        "@type": "LOCKED_KEY_3"
                    },
                    {
                        "id": "2023-08-16T20:06:02.1234",
                        "@type": "LOCKED_EXPIRATION_DATE_3"
                    }
                ]
            }
        ]
    }
]
Request Definition
nametypedescriptionrequired
idstringUnique Identifier of reservation response.
Example: Unique Nokia reservation Id.
N
resourceSpecificationobjectresource specification objectN
resourceSpecification.idstringOrder Number from the request submitted
Example: APP-01234
N
@typestringType of the reservation entity
Allowed values are: MSISDN
N
@baseTypestringType of the base entity
Allowed values are: Resource
N
resourceStatusstringStatus of the resource entity
Allowed values are: assigned
N
resourceCharacteristicArrayresource characteristicN
resourceCharacteristic.namestringname of the resource entity
Example: name of the MSISDN
N
resourceCharacteristic.valuestringvalue of the resource
Example: MSISDN value
N
resourceCharacteristic.characteristicRelationshiparraythe definition of characteristicN
resourceCharacteristic.characteristicRelationship.idstringidentifier of the characteristic definitionN
resourceCharacteristic.characteristicRelationship.@typestringtype of the characteristic definitionN

Reviews